<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" 	prefix="s"%>
<%@ include file="/jsp/common/common_head.jsp"%>
<!DOCTYPE HTML>
<html>
<head>
<title>示界港管理平台</title>
<%@ include file="/jsp/common/common_script.jsp"%>
<style type="text/css">
</style>
<script type="text/javascript">
 var g_userId = '<%=session.getAttribute("userId")%>';
 var g_bAdmin = '<%=session.getAttribute("isAdmin")%>';
</script>
</head>
<body>
<table class="queryTable" >
	<tr>
		<td class="queryTitle" width="68px">统计方式</td>
		<td class="queryContent">
			<select id="queryOrderDate" class="easyui-combobox" panelHeight="auto" editable="false" style="width: 120px" >
				<option value="1">按日</option>
				<option value="2" selected>按周</option>
				<option value="3">按月</option>
			</select>
		</td>
		<td class="queryTitle" width="68px">起始日期</td>
		<td class="queryContent">
			<input id="queryDateStart" class="easyui-datebox" style="width:120px">
		</td>
		<td class="queryTitle" width="68px">截止日期</td>
		<td class="queryContent">
			<input id="queryDateEnd" class="easyui-datebox" style="width:120px">
		</td>
		<td class="queryBtnTd" rowspan="2">
			<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search"  onclick="doQuery()">查询</a>
		</td>
	</tr>
	<tr>
		<td class="queryTitle" width="68px">订单类型</td>
		<td class="queryContent">
			<select id="queryOrderType" class="easyui-combobox" panelHeight="120px" editable="false" style="width: 120px" >
				<option value="all" selected>不限</option>
				<option value="print">印品【全部】</option>
				<option value="print1">印品【名片】</option>
				<option value="print2">印品【传单】</option>
				<option value="print3">印品【展架】</option>
				<option value="print4">印品【海报】</option>
				<option value="print5">印品【优惠券】</option>
				<option value="print6">印品【不干胶】</option>
				<option value="print7">印品【停车牌】</option>
				<option value="seckill">秒杀订单</option>
				<option value="vip">VIP订单[全部]</option>
				<option value="vipM">VIP订单[月度]</option>
				<option value="vipQ">VIP订单[季度]</option>
				<option value="vipY">VIP订单[年度]</option>
			</select>
		</td>
		<td class="queryTitle" width="68px">支付平台</td>
		<td class="queryContent">
			<select id="queryPayPlt" class="easyui-combobox" panelHeight="auto" editable="false" style="width: 120px" >
				<option value="" selected>全部</option>
				<option value="10">微信</option>
				<option value="20">支付宝</option>
				<option value="30">苹果内购</option>
			</select>
		</td>
		<td class="queryTitle" width="68px">支付来源</td>
		<td class="queryContent">
			<select id="queryPayFrom" class="easyui-combobox" panelHeight="auto" editable="false" style="width: 120px" >
				<option value="" selected>全部</option>
				<option value="4">电脑端(PC)</option>
				<option value="5">苹果端(IOS)</option>
				<option value="6">安卓端(Android)</option>
			</select>
		</td>
	</tr>

</table>

<table id="orderGrid"></table>

<div id="orderDlg" class="easyui-window" title="" closed="true" style="width:600px; height:auto;text-align:center; background: #fff;">
	<div border="false" style="padding-left:20px;">
		<form id="orderForm"  method="POST">
			<table border="0" class="queryTable" width="95%" height="auto" style="margin-bottom:0px;" id="orderTable">
				<tr>	
					<td class="queryTitle" width="80px">显示顺序</td>
					<td class="queryContent">
						<s:textfield id="order" name="order" cssClass="inputText easyui-validatebox" data-options="" onkeyup="value=value.replace(/[^\d]/gi,'')" cssStyle="width:250px"/>
					</td>
				</tr>
			</table>
		</form>
	</div>
	<div style="clear:both;padding-top:10px;margin-bottom:10px;text-align:center;" id="orderBtn">
		<a class="easyui-linkbutton" iconCls="icon-ok" href="javascript:void(0)" onclick="doUpdOrder()">确定</a>
		<a class="easyui-linkbutton" iconCls="icon-cancel" href="javascript:void(0)" onclick="cancelUpdOrder()">取消</a>
    </div>
</div>

<script type="text/javascript" src="${ctx}/js/stats/orderStats.js"></script>
<script type="text/javascript" src="${ctx}/js/encrypt/encrypted-min.js"></script>
</body>
</html>
